<!DOCTYPE html>
<html>
  <head>
    <title>NaData.com - Sua agenda eletrônica de eventos!</title>
	
    <%= stylesheet_link_tag "application" %>
    <%= javascript_include_tag :defaults %>

    <script type="text/javascript" src="/javascripts/jquery.js"></script>
	<script type="text/javascript" src="/javascripts/jquery.lavalamp.js"></script>
	<script type="text/javascript" src="/javascripts/jquery.easing.js"></script>
	<script src="/javascripts/jquery.nivo.slider.js" type="text/javascript"></script>
	
	<script type="text/javascript">
	    $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700 })});
	    
	    $(window).load(function() {
    		$('#slider').nivoSlider({effect:'sliceUpDown'});
		});
	</script>

	<script src="/javascripts/" type="text/javascript"></script>

    <%= csrf_meta_tag %>


    <%= yield(:head) %>
  </head>
  <body>
    <div id="container">
      <% flash.each do |name, msg| %>
        <%= content_tag :div, msg, :id => "flash_#{name}" %>
      <% end %>
      <%= content_tag :h1, yield(:title) if show_title? %>
      <%= yield %>
    </div>
  </body>
</html>
